#ifndef CRYPTIONDIALOG_H
#define CRYPTIONDIALOG_H

#include <QtGui>
#include <QWidget>
#include <QTabWidget>


#include "mainwindow.h"

namespace Ui {
    class CryptionDialog;
}
class DES;
class CryptionDialog : public QTabWidget
{
    Q_OBJECT

public:
    explicit CryptionDialog(QWidget *parent = 0);
    ~CryptionDialog();
    QString getTextPath();
    QString getKeyPath();

    DES des;


private slots:

    void setTextPath();
    void setKeyPath();
    void SaveText();
    void setTextPath2();
    void setKeyPath2();
    void SaveText2();
    void ready_encrypt();
    void ready_decrypt();

    void encryptSlot();
    void decryptSlot();

private:
    Ui::CryptionDialog *ui;
};

#endif // CRYPTIONDIALOG_H
